/* 全局样式 */
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#app {
  width: 100%;
  height: 100%;
}

/* Canvas容器的基本样式 */
.ar-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  height: 100vh;
}

.video-container,
.model-container {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.ar-video {
  display: block;
  width: 640px;
  height: 480px;
  object-fit: cover;
}

canvas {
  display: block;
  width: 400px;
  height: 300px;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .ar-container {
    flex-direction: column;
    align-items: center;
  }
  
  .ar-video {
    width: 100vw;
    height: 75vw;
  }
  
  canvas {
    width: 100vw;
    height: 75vw;
  }
}